package com.winter.mapper;

import com.winter.model.Banner;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BannerMapper {
    int insert(Banner record);

    int insertSelective(Banner record);

    List<Banner> queryType(@Param("type") String type);
}